<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
	pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Register</title>

<script type="text/javascript">
<!--
function validateEmail()
{
 
   var emailID = document.myForm.email.value;
   atpos = emailID.indexOf("@");
   dotpos = emailID.lastIndexOf(".");
   if (atpos < 1||(dotpos-atpos <2 )) 
   {
       alert("Please enter correct email ID");
       document.myForm.email.focus();
       return false;
   }
   return( true );
}
//-->
</script>
<body>
<center>
	<div id="FirstDiv" name="myDiv" align="center"
		title="Example Div Element"
		style="font-family: Helvetica; height: 100px; width: 800px; font-size: 12pt; background: silver; border: 1px solid black;">

	</div>


		
			<H1 style="font-size: 20pt; font-style: italic; color: teal">Registration
				Form</H1>

			<form name="myForm" action="Register" method="post"
				onsubmit="return (validateEmail());" marginleft="100px">
				<table align="center">

<tr>
<td><b>Full Name:</b></td>
<td><input type="text" name="fullname" size=25></td>
</tr>

<tr>
<td><b>Email/Username*:</b></td>
<td><input type="text" name="email" size=25></td>
</tr>

<tr>
<td><b>MobileNumber*:</b></td>
<td><input type="text" name="mobileno" size=25>
</tr>
<tr>
<td><b>Password*:</b></td>
<td><input type="password" name="pwd" size=25>
</tr>
<tr>
<td><b>RepeatPassword*:</b></td>
<td><input type="password" name="repwd" size=25>
</tr>


</table>

<br><input type="submit" value="Register"></input>
<br><br>
				



	<div id="ThirdDiv" name="myDiv" align="center"
		title="Example Div Element"
		style="font-family: Helvetica; height: 100px; width: 800px; font-size: 12pt; background-color: DarkCyan; border: 1px solid black;">

	</div>
</center>
</body>
</html>